﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace PHMEE
{
    public class OpenIdDictDto
    {        
        public string client_id { get; set; }

        private string _clientSecret;
        public string client_secret
        {
            get
            {
                return _clientSecret;
            }
            set
            {
                _clientSecret = Encoding.UTF8.GetString(Convert.FromBase64String(value));
            }
        }
        public string grant_type { get; set; }
        public string scope { get; set; }
        public string SaveTokens { get; set; }
    }
}
